// pages/treataccount/treataccount.js
const app = getApp();
Page({
  /**
   * 页面的初始数据
   */
  data: {
    statusBarHeight: app.globalData.statusBarHeight,
    fullHeight: app.globalData.fullcontain,
    navmess:{
      navtitle: "疗程账户",
      backhide: 0,
      topheight: 1
    },
    treatlist: [
      {
        "id": 1,
        "treatmentProject": [
          {
            "treatmentName": "火箭少女101瘦脸疗程",
            "treatmentNo": "LC：123689",
            "beginTime": "2020-06-02",
            "expiredTime": "2020-08-28",
            "orderProjectId": 3,
            "projectName": "美甲",
            "projectCatNamePath": null,
            "projectNo": null,
            "orderNo": null,
            "comeFrom": null,
            "originalPrice": "199.00",
            "quantity": 10,
            "giveQuantity": 0,
            "totalQuantity": 10,
            "remainingQuantity": 5,
            "useQuantity": 5
          },
          {
            "treatmentName": "火箭少女101瘦脸疗程",
            "treatmentNo": "LC：123689",
            "beginTime": "2020-06-02",
            "expiredTime": "2020-08-28",
            "orderProjectId": 3,
            "projectName": "美甲",
            "projectCatNamePath": null,
            "projectNo": null,
            "orderNo": null,
            "comeFrom": null,
            "originalPrice": "199.00",
            "quantity": 10,
            "giveQuantity": 0,
            "totalQuantity": 10,
            "remainingQuantity": 5,
            "useQuantity": 5
          }
        ]
      },
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})